class CreateDailyTypes < ActiveRecord::Migration
  def self.up
    create_table :daily_types do |t|
      t.string :name
    end

    create_table :daily_types_dailies, :id => false do |t|
      t.integer :daily_type_id
      t.integer :daily_id
    end
  end

  def self.down
    drop_table :daily_types
    drop_table :daily_types_dailies
  end
end
